//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['George Strait, Chris Stapleton & Little Big Town','Lucas Oil Stadium','Indianapolis, IN','Saturday','5/4/2024','5:45 PM','5931118','George-Strait--Chris-Stapleton---Little-Big-Town-5-4-2024'],['Chris Stapleton, Grace Potter & Nikki Lane','iTHINK Financial Amphitheatre','West Palm Beach, FL','Thursday','5/9/2024','7:00 PM','6036462','Chris-Stapleton--Grace-Potter---Nikki-Lane-5-9-2024'],['Chris Stapleton, Grace Potter & Nikki Lane','MidFlorida Credit Union Amphitheatre At The Florida State Fairgrounds','Tampa, FL','Friday','5/10/2024','7:00 PM','6138292','Chris-Stapleton--Grace-Potter---Nikki-Lane-5-10-2024'],['George Strait, Chris Stapleton & Little Big Town','EverBank Stadium','Jacksonville, FL','Saturday','5/11/2024','5:45 PM','5931119','George-Strait--Chris-Stapleton---Little-Big-Town-5-11-2024'],['Tennessee Whiskey - Tribute to Chris Stapleton','Medina Entertainment Center','Hamel, MN','Friday','5/17/2024','8:00 PM','6332284','Tennessee-Whiskey---Tribute-to-Chris-Stapleton-5-17-2024'],['Chris Stapleton, Marcus King & The War and Treaty','Summit Arena at The Monument','Rapid City, SD','Wednesday','5/22/2024','7:00 PM','6043945','Chris-Stapleton--Marcus-King---The-War-and-Treaty-5-22-2024'],['Chris Stapleton, Marcus King & The War and Treaty','Denny Sanford Premier Center','Sioux Falls, SD','Friday','5/24/2024','7:00 PM','6057863','Chris-Stapleton--Marcus-King---The-War-and-Treaty-5-24-2024'],['George Strait, Chris Stapleton & Little Big Town','Jack Trice Stadium','Ames, IA','Saturday','5/25/2024','5:45 PM','5931120','George-Strait--Chris-Stapleton---Little-Big-Town-5-25-2024'],['Chris Stapleton, Marcus King & The War and Treaty','Blossom Music Center','Cuyahoga Falls, OH','Friday','5/31/2024','7:00 PM','6036463','Chris-Stapleton--Marcus-King---The-War-and-Treaty-5-31-2024'],['Railbird Music Festival: Noah Kahan, Turnpike Troubadours, Chris Stapleton & Hozier - 2 Day Pass','The Red Mile','Lexington, KY','Saturday','6/1/2024','TBD','6131986','Railbird-Music-Festival--Noah-Kahan--Turnpike-Troubadours--Chris-Stapleton---Hozier---2-Day-Pass-6-1-2024']],'"Chris Stapleton"','https://www.ticketnetwork.com');